home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_32422.txt < prev    next >
Text File  |  1990-10-02  |  7KB  |  300 lines

  1. -- card: 32422 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 7178
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   send cardOpened to background
  9. end openCard
  10.  
  11. on move
  12.   global direction,chase,blasting
  13.   if direction = "west" or direction = "rear" then
  14.     go to card id 32989
  15.     exit move
  16.   end if
  17.   if direction = "east" or direction = "down" or direction = "south" then
  18.     beep
  19.     put "Sorry, no swimming allowed in this cave." into field 3
  20.     exit move
  21.   end if
  22.   if direction = "enter" then
  23.     go to card id 31944
  24.     exit move
  25.   end if
  26.   pass move
  27. end move
  28.  
  29.  
  30. on closeCard
  31.   set the cursor to 4
  32.   put "" into field 3
  33. end closeCard
  34.  
  35. on take
  36.   global object,carried
  37.   -- remember to update carried if you do not pass take
  38.   pass take
  39. end take
  40.  
  41. on drop
  42.   global object,dropRoom,carried
  43.   answer "Drop object onto ledge, or in the water?" with "water"or"on ledge"
  44.   if it="water" then put "33443" into dropRoom
  45.   -- remember to update carried if you do not pass drop
  46.   pass drop
  47. end drop
  48.  
  49. on use
  50.   global object,carried
  51.   -- update carried if use results in loss of object
  52.   pass use
  53. end use
  54.  
  55.  
  56.  
  57.  
  58.  
  59. -- part 16 (button)
  60. -- low flags: 80
  61. -- high flags: 2000
  62. -- rect: left=149 top=229 right=265 bottom=183
  63. -- title width / last selected line: 0
  64. -- icon id / first selected line: 9301 / 9301
  65. -- text alignment: 1
  66. -- font id: 0
  67. -- text size: 12
  68. -- style flags: 0
  69. -- line height: 16
  70. -- part name: knife
  71. ----- HyperTalk script -----
  72. on mouseUp
  73.   global takeFlag,examFlag,object,cardID
  74.   put the name of the target into object
  75.   if takeFlag = true
  76.   then send take to card id cardID
  77. else put "a knife" into field 3
  78. put false into examFlag
  79. end mouseUp
  80.  
  81.  
  82.  
  83. -- part 17 (button)
  84. -- low flags: 80
  85. -- high flags: 2000
  86. -- rect: left=89 top=195 right=231 bottom=123
  87. -- title width / last selected line: 0
  88. -- icon id / first selected line: 1015 / 1015
  89. -- text alignment: 1
  90. -- font id: 0
  91. -- text size: 12
  92. -- style flags: 0
  93. -- line height: 16
  94. -- part name: nodule
  95. ----- HyperTalk script -----
  96. on mouseUp
  97.   global takeFlag,examFlag,object,cardID
  98.   put the name of the target into object
  99.   if takeFlag = true
  100.   then send take to card id cardID
  101. else put "a silicon sphere" into field 3
  102. put false into examFlag
  103. end mouseUp
  104.  
  105.  
  106.  
  107. -- part 18 (button)
  108. -- low flags: 80
  109. -- high flags: 2000
  110. -- rect: left=183 top=229 right=265 bottom=217
  111. -- title width / last selected line: 0
  112. -- icon id / first selected line: 14953 / 14953
  113. -- text alignment: 1
  114. -- font id: 0
  115. -- text size: 12
  116. -- style flags: 0
  117. -- line height: 16
  118. -- part name: ladder
  119. ----- HyperTalk script -----
  120. on mouseUp
  121.   global takeFlag,examFlag,object,cardID
  122.   put the name of the target into object
  123.   if takeFlag = true
  124.   then send take to card id cardID
  125. else put "a rope ladder" into field 3
  126. put false into examFlag
  127. end mouseUp
  128.  
  129.  
  130.  
  131. -- part 19 (button)
  132. -- low flags: 80
  133. -- high flags: 2000
  134. -- rect: left=115 top=229 right=265 bottom=149
  135. -- title width / last selected line: 0
  136. -- icon id / first selected line: 1019 / 1019
  137. -- text alignment: 1
  138. -- font id: 0
  139. -- text size: 12
  140. -- style flags: 0
  141. -- line height: 16
  142. -- part name: bomb
  143. ----- HyperTalk script -----
  144. on mouseUp
  145.   global takeFlag,examFlag,object,cardID
  146.   put the name of the target into object
  147.   if takeFlag = true
  148.   then send take to card id cardID
  149. else put "a time bomb" into field 3
  150. put false into examFlag
  151. end mouseUp
  152.  
  153.  
  154.  
  155. -- part 20 (button)
  156. -- low flags: 80
  157. -- high flags: 2000
  158. -- rect: left=47 top=229 right=265 bottom=81
  159. -- title width / last selected line: 0
  160. -- icon id / first selected line: 24317 / 24317
  161. -- text alignment: 1
  162. -- font id: 0
  163. -- text size: 12
  164. -- style flags: 0
  165. -- line height: 16
  166. -- part name: key
  167. ----- HyperTalk script -----
  168. on mouseUp
  169.   global takeFlag,examFlag,object,cardID
  170.   put the name of the target into object
  171.   if takeFlag = true
  172.   then send take to card id cardID
  173. else put "a key" into field 3
  174. put false into examFlag
  175. end mouseUp
  176.  
  177.  
  178.  
  179. -- part 21 (button)
  180. -- low flags: 80
  181. -- high flags: 2000
  182. -- rect: left=81 top=229 right=265 bottom=115
  183. -- title width / last selected line: 0
  184. -- icon id / first selected line: 7012 / 7012
  185. -- text alignment: 1
  186. -- font id: 0
  187. -- text size: 12
  188. -- style flags: 0
  189. -- line height: 16
  190. -- part name: gem
  191. ----- HyperTalk script -----
  192. on mouseUp
  193.   global takeFlag,examFlag,object,cardID
  194.   put the name of the target into object
  195.   if takeFlag = true
  196.   then send take to card id cardID
  197. else put "a glowing gem" into field 3
  198. put false into examFlag
  199. end mouseUp
  200.  
  201.  
  202.  
  203. -- part 42 (button)
  204. -- low flags: 00
  205. -- high flags: 0000
  206. -- rect: left=121 top=52 right=86 bottom=160
  207. -- title width / last selected line: 0
  208. -- icon id / first selected line: 0 / 0
  209. -- text alignment: 1
  210. -- font id: 0
  211. -- text size: 12
  212. -- style flags: 0
  213. -- line height: 16
  214. -- part name: 
  215. ----- HyperTalk script -----
  216. on mouseUp
  217.   global examFlag,direction,cardID,takeFlag
  218.   if takeFlag then
  219.     beep
  220.     put "You have to get across the water to use that door!" into field 3
  221.     put false into takeFlag
  222.   else
  223.     put "A ledge and doorway on the east wall, across the water." into field 3
  224.     put false into examFlag
  225.   end if
  226. end mouseUp
  227.  
  228.  
  229.  
  230. -- part 43 (button)
  231. -- low flags: 00
  232. -- high flags: 0000
  233. -- rect: left=10 top=194 right=228 bottom=86
  234. -- title width / last selected line: 0
  235. -- icon id / first selected line: 0 / 0
  236. -- text alignment: 1
  237. -- font id: 0
  238. -- text size: 12
  239. -- style flags: 0
  240. -- line height: 16
  241. -- part name: 
  242. ----- HyperTalk script -----
  243. on mouseUp
  244.   global examFlag,direction,cardID,takeFlag
  245.   if examFlag then
  246.     put "a giant wash tub is floating here." into field 3
  247.     put false into examFlag
  248.     exit mouseUp
  249.   else
  250.     if takeFlag then
  251.       beep
  252.       put false into takeFlag
  253.       put "The giant wash tub is too heavy for you to carry." into field 3
  254.       exit mouseUp
  255.     else
  256.       put "enter" into direction
  257.     end if
  258.   end if
  259.   send move to card id cardID
  260. end mouseUp
  261.  
  262.  
  263.  
  264. -- part 44 (button)
  265. -- low flags: 00
  266. -- high flags: 0000
  267. -- rect: left=156 top=76 right=95 bottom=193
  268. -- title width / last selected line: 0
  269. -- icon id / first selected line: 0 / 0
  270. -- text alignment: 1
  271. -- font id: 0
  272. -- text size: 12
  273. -- style flags: 0
  274. -- line height: 16
  275. -- part name: 
  276. ----- HyperTalk script -----
  277. on mouseUp
  278.   global examFlag,direction,cardID,takeFlag
  279.   put false into takeFlag
  280.   put false into examFlag
  281.   put "The stairs leading down from the east ledge -- now covered with water." into field 3
  282. end mouseUp
  283.  
  284.  
  285.  
  286. -- part contents for background part 25
  287. ----- text -----
  288. West Ledge
  289. (looking east)
  290.  
  291. -- part contents for background part 24
  292. ----- text -----
  293. You are on the west ledge of the great chamber which is now flooded with water nearly to the level of the ledge.  A giant wash tub is floating in the water here.  There is a doorway to the west.
  294.  
  295.  
  296.  
  297.  
  298. -- part contents for background part 36
  299. ----- text -----
  300. 1